{include file="public:function"/}
{include file="public:config"/}
<meta name="author" content="TYCMS">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=yes">
<meta name="renderer" content="webkit">
<meta http-equiv="Cache-Control" content="no-siteapp"/>
<title>{$menu.menu_seo_title|default=$site_seo_title}</title>
<meta name="keywords" content="{$menu.menu_seo_key|default=$site_seo_keywords}" />
<meta name="description" content="{$menu.menu_seo_des|default=$site_seo_description}">
<link rel="shortcut icon" href="/favicon.ico">
<script src="{$yf_theme_path}public/js/jquery-1.11.3.min.js"></script>
<script language="javascript">
 $(function(){
    $(document).attr("title",'{$site_seo_title}');
 });
</script>
<link type="text/css" rel="stylesheet" href="{$yf_theme_path}public/css/logined.css">
<style type="text/css">
body,html,div,img,a,p,th,tr,td,table,tbody,form,input,ul,li{padding:0px;margin:0px;}

.content_img img{width:100%;display:block;}
.shipin{padding:0px 5px;height:300px;}


.zhucekuang{padding:10px 20px;}
.zhuce tr{height:48px;width:100%;}
.zhuce th{text-align:right;font-family:"微软雅黑";font-size:.8rem;color:#fff;width:32%;}
.zhuce td{width:68%;}
.zhuce .text{width:95%;height:28px;line-height:28px;padding:2%;border:1px solid #D1D1D1;border-radius:3px;-webkit-tap-highlight-color:rgba(255,255,255,0);-webkit-appearance:none;font-size:14px;}

.shangji{padding-top:15px;border:1px solid #FFD500;margin-top:20px;text-align:center;}
.shangji p{text-align:center;font-size:16px;color:#fff;line-height:40px;}
.shangji p a{color:#fff;font-size:16px;text-decoration:none;}
.erweima{text-align:center;}
.erweima img{height:200px;width:200px;border:1px solid #ccc;}
.tel{padding:5px;background:#f00;color:#fff;border-radius:2px;font-weight:700;}

.ludeng{position:fixed;bottom:0px;left:0px;width:100%;height:50px;background:#f00;}
.ludeng a{display:inline-block;width:33%;height:50px;line-height:50px;text-align:center;font-weight:700;color:#fff;border-right:1px solid #FFCC01;font-size:18px;text-decoration:none;float:left;}
</style>
</head>
<body >
<img src='{$yonghu.qrcode}' width='0' height='0' />
<div class="content" >

	<div class="content_img">
    <div id="yf_content_text" style="display:none">
       <center><h2 style="color:#fff">用户注册</h2></center>
       <hr>
    </div>
    <div id="yf_content_div">
		<img src="{$yf_theme_path}public/images/xsdsj_01.gif" alt="">
		<img src="{$yf_theme_path}public/images/xsdsj_02.jpg" alt="">
		<img src="{$yf_theme_path}public/images/xsdsj_03.jpg" alt="">
	 
	    <div class="shipin" style="height:auto; margin-bottom:10px">
         <iframe frameborder="0" width="100%" height="298" src="https://v.qq.com/iframe/player.html?vid=l03165z3xuz&tiny=0&auto=0" allowfullscreen></iframe>
         
	</div>
        <img src="{$yf_theme_path}public/images/xsdsj_09.jpg" alt="">
		<img src="{$yf_theme_path}public/images/xsdsj_10.jpg" alt="">
		<img src="{$yf_theme_path}public/images/xsdsj_11.jpg" alt="">
		<img src="{$yf_theme_path}public/images/xsdsj_12.jpg" alt="">
		<img src="{$yf_theme_path}public/images/xsdsj_13.gif" alt="">
        
     </div>   
	 <div class="zhucekuang" id="userapp">
	  
		<form name="myform" id="reg" action="{:url('home/Register/runregister')}" method="post">
	<div class="zhuce">
		<table width="100%" border="0" cellspacing="0" cellpadding="0" class="table_form">
		<tbody>
        
        <tr>
			<th width="100">手机号码：</th>
			<td colspan="2"><input type="mobile" name="mobile" id="mobile"  placeholder="* 手机号码" class="text" required></td>
           
        </tr>
        
        <tr>
			<th width="80">验证码：</th>
			<td width="150"><input  class="text" style="width:90%"  required name="mobilecode" id="mobilecode" type="text" placeholder="* 短信验证码">
            </Td> 
            <Td>
                <button class="btn btn-primary " type="button" style="width:80px;padding:8px 0; border:0; background:#F60;color:#fff;margin-top:3px; border-radius:3px" id="getcode">获取验证码</button>
            </Td>
        </tr>
         
        <tr>
			<th width="80">用户名：</th>
			<td  colspan="2">
            <input type="text" maxlength="16" name="member_list_username" placeholder="字母开头，仅限于数字、字母或组合。长度5-16" class="text" required>
            </td>
        </tr>
                
                
                <tr>
			<th>密码：</th>
			<td colspan="2"><input type="password" name="password" placeholder="* 密码" class="text" required></td>
                </tr>
                <tr>
			<th >确认密码：</th>
			<td colspan="2"><input type="password" name="repassword" placeholder="* 重复密码" class="text" required></td>
                </tr>
                
                 
			<th>姓名：</th>
			<td colspan="2"><input type="text" maxlength="32" name="member_list_nickname" placeholder="* 姓名（中文名）" class="text" required></td>
                </tr>
		 
         
         
			<th>推荐人：</th>
			<td><input type="text" name="procode" placeholder="推荐码,没有可不填。" value="{$yonghu.code|default=''}" class="text"  ></td>
                </tr>
                <tr>
			<th> </th>
			<td>
				<input type="submit" id="submit" class="tjbtn3 js_register" style="cursor:pointer" value="注册">
              </td>
              </tr>
	      </tbody></table>
	</div>
</form>
</div>
	<div class="shangji" id="kefu">
		<p> 
        <a target="blank" href="http://wpa.qq.com/msgrd?v=3&uin={$yonghu.qq}&site={}&Menu=yes">
        Q&nbsp;Q：<img style="width:auto; display:inline" border="0" src="http://wpa.qq.com/pa?p=1:{$yonghu.qq}:4" alt="点击发送消息给对方">&nbsp;{$yonghu.qq}</a>
        </p>
		<p>手机：<a href="tel:{$yonghu.tel}" class="tel">{$yonghu.tel}</a></p>
		
		<center>	
		<img class="erweima" src="{$yonghu.qrcode}" alt="微信二维码" style="width:160px">
        </center>
		<p>长按二维码加我为好友</p>		
	   	</div>
	<div style="height:70px;width:100%;"></div>
	<div class="ludeng">
		<a href="javascript:;" onClick="jhide();">注册</a>
		<a href="{:url('home/login/index')}">登陆</a>
		<a href="{$shop_url}" style="border-right:none;">商城</a>
	</div>
	</div>
    {include file="public:scripts"/}
    <script src="{$yf_theme_pc_path}public/js/jquery.parallax.js"></script>
<script src="{$yf_theme_pc_path}public/js/modernizr-2.6.2.min.js"></script>
<script src="{$yf_theme_pc_path}public/js/revolution-slider/js/jquery.themepunch.revolution.min.js"></script>
<script src="{$yf_theme_pc_path}public/js/jquery.nivo.slider.pack.js"></script>
<script src="{$yf_theme_pc_path}public/js/jquery.prettyPhoto.js"></script>
<script src="{$yf_theme_pc_path}public/js/superfish.js"></script>
<script src="{$yf_theme_pc_path}public/js/circularnav.js"></script>
<script src="{$yf_theme_pc_path}public/js/jflickrfeed.js"></script>
<script src="{$yf_theme_pc_path}public/js/imagesloaded.pkgd.min.js"></script>
<script src="{$yf_theme_pc_path}public/js/waypoints.min.js"></script>
<script src="{$yf_theme_pc_path}public/js/spectrum.js"></script>
<script src="{$yf_theme_pc_path}public/js/custom.js"></script>
<script src="{$yf_theme_pc_path}public/js/portfolio.js"></script> 
<script src="{$yf_theme_pc_path}public/js/qrcode.min.js"></script>
<script src="{$yf_theme_pc_path}public/js/jquery.sticky.js"></script>
<script src="{$yf_theme_pc_path}public/js/jquery.cookie.js"></script>
<script src="__PUBLIC__/others/jquery.form.js"></script>
<script src="__PUBLIC__/layer/layer_{$lang}.js"></script>
 <script>
$(function(){

	$("#getcode").click(function(){	
	    var o = this,op  = $(this);
		var mobile = $("#mobile").val();						 
		if( mobile==""){
			layer.alert("请输入手机号码！");
			return false;
		}
		if(!checkStr(mobile,"mobile")){
			layer.alert("请输入正确的手机号码！");
			return false;
		}
		
		$.post("{:url("index/mobilecode")}",{mobile:mobile},function(res){
			if(res.err == 1){
			   //daojishi(this,'over');
			   layer.alert(res.msg);
			}else{
			   daojishi(this);	
			}
		});
		
		checkdaojishi(document.getElementById("getcode"));	 
		
	});
	
	
	
});

function jhide(){
   $("#yf_content_div").hide();
   $("#yf_content_text").show();
}
</script>

</body></html>